# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-w3af
pkgver=1.0.0
pkgrel=5
_pkgid=2004
pkgdesc="OSP server implementation to allow OpenVAS to remotely control a w3af scanner"
url="http://openvas.org/"
arch="noarch"
license="GPL-2.0-or-later"
depends="python3 ospd"
makedepends="python3-dev py3-paramiko py3-setuptools"
source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
    cd "$builddir"
    python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}


sha512sums="798ce2551134e8060d2c8ed5e72ceaa9b378ee31a175120aa43441ea6ff8f5a6cd421c710d6fde7beaf659cd82d213fe78d7d5b8f846be5d2535e094b719977e  ospd-w3af-1.0.0.tar.gz"
